﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddUserLink.Aspx.cs" Inherits="Users_AddUserLink" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link rel="stylesheet" type="text/css" href="../Css/Users.css" />    
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%" cellpadding="0" cellspacing="4" border="0">
                        <tr>
                <td align="right">链接名称:</td><td>
                <asp:TextBox ID="Txt_LinkName" runat="server" Width="262px"></asp:TextBox>
                            *<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ErrorMessage="链接名称不能为空" ControlToValidate="Txt_LinkName" Display="Dynamic"></asp:RequiredFieldValidator></td>
            </tr>
                        <tr>
                <td align="right" >链接地址:</td><td>
                <asp:TextBox ID="Txt_linkUrl" runat="server" Width="262px">http://</asp:TextBox>
                &nbsp;*必须以http://开头<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                ErrorMessage="链接Url地址不能为空" ControlToValidate="Txt_linkUrl" Display="Dynamic"></asp:RequiredFieldValidator></td>
            </tr>            
            <tr>
                <td align="right" >链接说明:</td><td>
                <asp:TextBox ID="Txt_Readme" runat="server" Height="89px" TextMode="MultiLine" 
                    Width="416px"></asp:TextBox>
                </td>
            </tr>
            
            <tr>
                <td align="right" >排序:</td>
                <td>
                <asp:TextBox ID="TextBox2" runat="server"   TextMode="SingleLine" Width="77px"  >0</asp:TextBox>
                </td>
            </tr>            
            
            <tr>
                <td colspan="2" align="center"> 
                    <asp:Button ID="Button1" runat="server" Text="立即添加" onclick="Button1_Click" />&nbsp;&nbsp;
                    <asp:Button ID="Button2" runat="server" Text="立&nbsp;即&nbsp;修&nbsp;改" onclick="Button2_Click" Visible="false" />
                </td>
            </tr>   
        </table>
    </div>
    </form>
</body>
</html>
